package com.cucheng.chatroom.service;

import javax.servlet.http.HttpSession;

import com.cucheng.chatroom.model.vo.ResponseJson;

public interface SecurityService {

    /**
     *@Description: TODO(用户登录入口) 
     *@Author: wangchengjie
     *@Since: 2019年3月30日下午3:36:13
     *@param username
     *@param password
     *@param session
     *@return
     */
    ResponseJson login(String username,String password,HttpSession session);

    /**
     *@Description: TODO(用户退出登录入口) 
     *@Author: wangchengjie
     *@Since: 2019年3月30日下午3:36:35
     *@param session
     *@return
     */
    ResponseJson logout(HttpSession session);
}
